# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=mycroft-skill-audio-record
pkgver=20.02_git20200326
pkgrel=0
_commit="7a0b4af7dc2c813ccbcdcdabff0ea18bd9e90169"
pkgdesc="Mycroft AI official Audio Record Skill - record audio and play it back"
url="https://mycroft.ai/skills"
arch="noarch"
license="Apache-2.0"
depends="python3 py3-psutil"
source="https://github.com/mycroftai/skill-audio-record/archive/$_commit/skills-audio-record-$_commit.tar.gz"
options="!check" # No tests
builddir="$srcdir/skill-audio-record-$_commit"

package() {
	mkdir -p "$pkgdir"/usr/share/mycroft/skills/mycroft-audio-record.mycroftai
	cp -r ./* "$pkgdir"/usr/share/mycroft/skills/mycroft-audio-record.mycroftai/
}

sha512sums="5785a5c3b6787ab6511f4791cf0fd288c04b3a38d0dcb83412f418e6b7039692bdd28c57c6615cd7b43f3b960991cdb9744d94e8b46bc754cc2d1d55e308823c  skills-audio-record-7a0b4af7dc2c813ccbcdcdabff0ea18bd9e90169.tar.gz"
